package com.cw2.behavioral.mediator;

/**
 * 抽象机长类
 */
public abstract class Captain {

    ControlTower controlTower;

    public Captain(ControlTower controlTower) {
        this.controlTower = controlTower;
    }

    // 起飞方法
    abstract void fly();

    // 降落方法
    abstract void land();

    // 完成方法
    abstract void success();
}
